------------------------------------------------------------------------------------------------------------------------------------------------------------------------
      name:  <unnamed>
       log:  C:\Users\jar68\OneDrive\Ongoing Work\Party Cues and Suspicion Paper\Final Datavserse\Table2\table2_log.log
  log type:  text
 opened on:  23 Jun 2021, 18:04:36

. 
. 
. 
. /*********************************************
> Remove VPN and Independents
> *********************************************/
. keep if pid_2 !=.
(139 observations deleted)

. keep if IP_Hub_recommend_block == 0
(36 observations deleted)

. 
. *Leaves 1027 observations
. 
. /*********************************************
> Cleanings
> *********************************************/
. 
. label def tr 1 "Baseline" 2 "Party Cue" 3 "Cue w/Insinuation" 4 "Insinuation", replace

. label values treat_4 tr

. 
. label def lic 1 "Liberal Change" 0 "Conservative Change"

. label def stc 0 "Stereotypical Change" 1 "Counter-Stereotypical Change" 

. label values libchange lic

. label values change stc

. 
. label def pi 1 "Democrat" 0 "Republican"

. label values pid_2 pi

. 
. foreach var in inferences special_supporters policy_supporters gain_supporters likeyou_supporters placement {
  2.         summ `var' 
  3.         replace `var' = (`var' - r(min))/(r(max)-r(min))
  4.         }

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
  inferences |      1,027    4.138007    1.153603          1          7
(1,027 real changes made)

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
special_su~s |      1,027    3.706913    1.140595          1          5
(1,027 real changes made)

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
policy_sup~s |      1,027    3.366115       1.154          1          5
(1,027 real changes made)

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
gain_suppo~s |      1,025    3.502439    1.088938          1          5
(1,025 real changes made)

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
likeyou_su~s |      1,027    3.140214    1.220284          1          5
(1,027 real changes made)

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
   placement |      1,027     3.91334    1.558879          1          7
(1,027 real changes made)

.         
. summ inparty

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
     inparty |      1,024    67.94824    23.70601          0        100

. gen in01 = (inparty - r(min))/(r(max)-r(min))
(3 missing values generated)

. 
. 
. factor *_supporters, pcf
(obs=1,025)

Factor analysis/correlation                      Number of obs    =      1,025
    Method: principal-component factors          Retained factors =          1
    Rotation: (unrotated)                        Number of params =          4

    --------------------------------------------------------------------------
         Factor  |   Eigenvalue   Difference        Proportion   Cumulative
    -------------+------------------------------------------------------------
        Factor1  |      2.37060      1.50591            0.5926       0.5926
        Factor2  |      0.86469      0.39295            0.2162       0.8088
        Factor3  |      0.47175      0.17878            0.1179       0.9268
        Factor4  |      0.29297            .            0.0732       1.0000
    --------------------------------------------------------------------------
    LR test: independent vs. saturated:  chi2(6)  = 1290.05 Prob>chi2 = 0.0000

Factor loadings (pattern matrix) and unique variances

    ---------------------------------------
        Variable |  Factor1 |   Uniqueness 
    -------------+----------+--------------
    special_su~s |  -0.7565 |      0.4278  
    policy_sup~s |   0.7911 |      0.3742  
    gain_suppo~s |  -0.7140 |      0.4902  
    likeyou_su~s |   0.8141 |      0.3372  
    ---------------------------------------

.         /*EV = 2.37, proportion = 0.6
>         Special and Gain = -0.76 and -0.71; Policy and Like you = 0.79 and 0.81
>         */
. 
. rotate

Factor analysis/correlation                      Number of obs    =      1,025
    Method: principal-component factors          Retained factors =          1
    Rotation: orthogonal varimax (Kaiser off)    Number of params =          4

    --------------------------------------------------------------------------
         Factor  |     Variance   Difference        Proportion   Cumulative
    -------------+------------------------------------------------------------
        Factor1  |      2.37060            .            0.5926       0.5926
    --------------------------------------------------------------------------
    LR test: independent vs. saturated:  chi2(6)  = 1290.05 Prob>chi2 = 0.0000

Rotated factor loadings (pattern matrix) and unique variances

    ---------------------------------------
        Variable |  Factor1 |   Uniqueness 
    -------------+----------+--------------
    special_su~s |  -0.7565 |      0.4278  
    policy_sup~s |   0.7911 |      0.3742  
    gain_suppo~s |  -0.7140 |      0.4902  
    likeyou_su~s |   0.8141 |      0.3372  
    ---------------------------------------

Factor rotation matrix

    -----------------------
                 | Factor1 
    -------------+---------
         Factor1 |  1.0000 
    -----------------------

. predict factor1
(regression scoring assumed)

Scoring coefficients (method = regression; based on varimax rotated factors)

    ------------------------
        Variable |  Factor1 
    -------------+----------
    special_su~s | -0.31910 
    policy_sup~s |  0.33371 
    gain_suppo~s | -0.30119 
    likeyou_su~s |  0.34342 
    ------------------------


. summ factor1

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
     factor1 |      1,025    4.37e-09           1  -2.065622   2.444335

. gen motives = (factor1 - r(min))/(r(max)-r(min))
(2 missing values generated)

. 
. 
. /*********************************************
> Models
> *********************************************/
. 
. eststo clear

. eststo: regress support01 i.treat_4 i.change

      Source |       SS           df       MS      Number of obs   =     1,027
-------------+----------------------------------   F(4, 1022)      =     33.46
       Model |  9.29980419         4  2.32495105   Prob > F        =    0.0000
    Residual |  71.0178784     1,022  .069489118   R-squared       =    0.1158
-------------+----------------------------------   Adj R-squared   =    0.1123
       Total |  80.3176826     1,026  .078282342   Root MSE        =    .26361

-----------------------------------------------------------------------------------------------
                    support01 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
------------------------------+----------------------------------------------------------------
                      treat_4 |
                   Party Cue  |   .1180925   .0235916     5.01   0.000     .0717989     .164386
           Cue w/Insinuation  |   .0976388   .0236808     4.12   0.000     .0511703    .1441073
                 Insinuation  |  -.0294367   .0238021    -1.24   0.216    -.0761432    .0172698
                              |
                       change |
Counter-Stereotypical Change  |  -.1393671   .0164952    -8.45   0.000    -.1717353   -.1069988
                        _cons |   .5105862   .0191227    26.70   0.000      .473062    .5481104
-----------------------------------------------------------------------------------------------
(est1 stored)

. eststo: regress argdiff01 i.treat_4 i.change

      Source |       SS           df       MS      Number of obs   =     1,026
-------------+----------------------------------   F(4, 1021)      =     21.61
       Model |  3.17857898         4  .794644746   Prob > F        =    0.0000
    Residual |  37.5477399     1,021  .036775455   R-squared       =    0.0780
-------------+----------------------------------   Adj R-squared   =    0.0744
       Total |  40.7263188     1,025  .039732994   Root MSE        =    .19177

-----------------------------------------------------------------------------------------------
                    argdiff01 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
------------------------------+----------------------------------------------------------------
                      treat_4 |
                   Party Cue  |   .0645832   .0171624     3.76   0.000     .0309055    .0982608
           Cue w/Insinuation  |   .0375109   .0172415     2.18   0.030      .003678    .0713437
                 Insinuation  |  -.0272639   .0173155    -1.57   0.116     -.061242    .0067142
                              |
                       change |
Counter-Stereotypical Change  |  -.0846737   .0120042    -7.05   0.000    -.1082295   -.0611179
                        _cons |   .5239148   .0139123    37.66   0.000     .4966149    .5512147
-----------------------------------------------------------------------------------------------
(est2 stored)

. eststo: regress inferences i.treat_4 i.change

      Source |       SS           df       MS      Number of obs   =     1,027
-------------+----------------------------------   F(4, 1022)      =     20.81
       Model |   2.8568629         4  .714215726   Prob > F        =    0.0000
    Residual |   35.070909     1,022  .034315958   R-squared       =    0.0753
-------------+----------------------------------   Adj R-squared   =    0.0717
       Total |  37.9277719     1,026  .036966639   Root MSE        =    .18525

-----------------------------------------------------------------------------------------------
                   inferences |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
------------------------------+----------------------------------------------------------------
                      treat_4 |
                   Party Cue  |   .0571889   .0165786     3.45   0.001     .0246569    .0897209
           Cue w/Insinuation  |   .0571508   .0166412     3.43   0.001     .0244959    .0898057
                 Insinuation  |  -.0043523   .0167265    -0.26   0.795    -.0371744    .0284699
                              |
                       change |
Counter-Stereotypical Change  |   -.085131   .0115917    -7.34   0.000    -.1078772   -.0623848
                        _cons |    .535349   .0134381    39.84   0.000     .5089795    .5617184
-----------------------------------------------------------------------------------------------
(est3 stored)

. eststo: regress prox01 i.treat_4 i.change

      Source |       SS           df       MS      Number of obs   =     1,027
-------------+----------------------------------   F(4, 1022)      =     29.87
       Model |  7.21528177         4  1.80382044   Prob > F        =    0.0000
    Residual |  61.7209943     1,022  .060392362   R-squared       =    0.1047
-------------+----------------------------------   Adj R-squared   =    0.1012
       Total |  68.9362761     1,026  .067189353   Root MSE        =    .24575

-----------------------------------------------------------------------------------------------
                       prox01 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
------------------------------+----------------------------------------------------------------
                      treat_4 |
                   Party Cue  |   .0659275   .0219933     3.00   0.003     .0227703    .1090847
           Cue w/Insinuation  |   .0797523   .0220764     3.61   0.000      .036432    .1230726
                 Insinuation  |  -.0062681   .0221895    -0.28   0.778    -.0498102    .0372741
                              |
                       change |
Counter-Stereotypical Change  |  -.1459657   .0153776    -9.49   0.000     -.176141   -.1157904
                        _cons |   .7371904   .0178271    41.35   0.000     .7022084    .7721723
-----------------------------------------------------------------------------------------------
(est4 stored)

. eststo: regress motives i.treat_4 i.change

      Source |       SS           df       MS      Number of obs   =     1,025
-------------+----------------------------------   F(4, 1020)      =     24.62
       Model |  4.43344235         4  1.10836059   Prob > F        =    0.0000
    Residual |  45.9114186     1,020  .045011195   R-squared       =    0.0881
-------------+----------------------------------   Adj R-squared   =    0.0845
       Total |   50.344861     1,024  .049164903   Root MSE        =    .21216

-----------------------------------------------------------------------------------------------
                      motives |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
------------------------------+----------------------------------------------------------------
                      treat_4 |
                   Party Cue  |   .0648962   .0190254     3.41   0.001     .0275628    .1022296
           Cue w/Insinuation  |   .0218727   .0190822     1.15   0.252    -.0155721    .0593175
                 Insinuation  |  -.0700679   .0191782    -3.65   0.000    -.1077011   -.0324347
                              |
                       change |
Counter-Stereotypical Change  |  -.0854708   .0132887    -6.43   0.000    -.1115471   -.0593945
                        _cons |   .4942671   .0154325    32.03   0.000     .4639841    .5245502
-----------------------------------------------------------------------------------------------
(est5 stored)

. eststo: regress in01 i.treat_4 i.change

      Source |       SS           df       MS      Number of obs   =     1,024
-------------+----------------------------------   F(4, 1019)      =      4.14
       Model |  .918731573         4  .229682893   Prob > F        =    0.0025
    Residual |   56.571294     1,019  .055516481   R-squared       =    0.0160
-------------+----------------------------------   Adj R-squared   =    0.0121
       Total |  57.4900255     1,023  .056197483   Root MSE        =    .23562

-----------------------------------------------------------------------------------------------
                         in01 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
------------------------------+----------------------------------------------------------------
                      treat_4 |
                   Party Cue  |  -.0593753   .0211293    -2.81   0.005    -.1008372   -.0179135
           Cue w/Insinuation  |  -.0137771   .0211924    -0.65   0.516    -.0553627    .0278086
                 Insinuation  |   .0087754   .0213185     0.41   0.681    -.0330578    .0506085
                              |
                       change |
Counter-Stereotypical Change  |  -.0275752   .0147655    -1.87   0.062    -.0565495    .0013991
                        _cons |   .7096928   .0171406    41.40   0.000     .6760578    .7433277
-----------------------------------------------------------------------------------------------
(est6 stored)

. 
. esttab using "exp4_table1.rtf", replace onecell se star(+ 0.1 * 0.05 ** 0.01) ///
>                 nobaselevels b(2) label ///
>                 mtitles("Policy Support" "Argument Difference" "Inferences" "Proximity" "Motives" "In-Party Affect") ///
>                 title("{\b Table 2}: Results from September 2020 MTurk Replication Experiment") ///
>                 addnote("All DVs range from 0-1; Argument Difference = Difference in Argument Ratings; Inferences = beliefs about economic consequences of policy; Mot
> ives = perceived motives of pro-reform legislators; In-Party = in-party thermometer.")
(note: file exp4_table1.rtf not found)
(output written to exp4_table1.rtf)

.                 
. log close
      name:  <unnamed>
       log:  C:\Users\jar68\OneDrive\Ongoing Work\Party Cues and Suspicion Paper\Final Datavserse\Table2\table2_log.log
  log type:  text
 closed on:  23 Jun 2021, 18:04:36
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
